package com.lixw.jdbc.core.annotation;

import com.lixw.jdbc.core.enums.FillStrategy;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 指定数据库表名
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface TableField {
    String value();

    boolean exists() default true;

    FillStrategy updateStrategy() default FillStrategy.IGNORE;
}
